package c.h.a.j0;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import c.h.a.j0.q0.b;
import com.liuzh.deviceinfo.location.RealtimeSatelliteActivity;

/* compiled from: lambda */
public final /* synthetic */ class p implements OnClickListener {
    public final /* synthetic */ b a;

    public /* synthetic */ p(b bVar) {
        this.a = bVar;
    }

    public final void onClick(View view) {
        b bVar = this.a;
        if (q0.this.u0()) {
            q0.this.l0(new Intent(q0.this.Z(), RealtimeSatelliteActivity.class));
        } else {
            q0.this.X(new String[]{"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"}, 1);
        }
    }
}
